<template>
	<view class="list-box">
		<view class="list" v-if="isLogin" @click="goPage('/pages/users/capital/capital')">
			<view class="list-left">
				<text class="iconfont icon-zijin"></text>
				<text>资金账户</text>
			</view>
			<view class="list-right">
				<text>资金往来记录</text>
				<text class="iconfont icon-dayu"></text>
			</view>
		</view>
		<view class="list" v-if="isLogin" @click="goPage('/pages/users/tborder/index')">
			<view class="list-left">
				<text class="iconfont icon-tk-order"></text>
				<text>淘客订单</text>
			</view>
			<view class="list-right">
				<text>查看实时订单</text>
				<text class="iconfont icon-dayu"></text>
			</view>
		</view>
		<view class="list" v-if="isLogin" @click="goPage('/pages/mutual/reward/reward')">
			<view class="list-left">
				<text class="iconfont icon-xuanshang"></text>
				<text>悬赏管理</text>
			</view>
			<view class="list-right">
				<text>发布管理悬赏</text>
				<text class="iconfont icon-dayu"></text>
			</view>
		</view>
		<!-- <view class="list" @click="goPage('/pages/public/follow/follow')">
			<view class="list-left">
				<text class="iconfont icon-guanzhu"></text>
				<text>关注我们</text>
			</view>
			<view class="list-right">
				<text>获取最新动态</text>
				<text class="iconfont icon-dayu"></text>
			</view>
		</view> -->
		<view class="list" @click="goPage('/pages/public/helps/helps')">
			<view class="list-left">
				<text class="iconfont icon-bangzhu"></text>
				<text>帮助中心</text>
			</view>
			<view class="list-right">
				<text>了解玩法规则</text>
				<text class="iconfont icon-dayu"></text>
			</view>
		</view>
		<view class="list" @click="goPage('/pages/public/feedback/feedback')">
			<view class="list-left">
				<text class="iconfont icon-fankui"></text>
				<text>反馈中心</text>
			</view>
			<view class="list-right">
				<text>问题建议反馈</text>
				<text class="iconfont icon-dayu"></text>
			</view>
		</view>
	</view>
</template>

<script>
	import {mapState} from "vuex";
	export default{
		name:"ListBox",
		data(){
			return{
				
			}
		},
		methods:{
			goPage(url){
				uni.navigateTo({
					url:url
				})
			}
		},
		computed:{
			...mapState(["isLogin"]),
		},
	}
</script>

<style scoped lang="less" src="./ListBox.less">
</style>
